package op1;

public class Person {
	
	private static int counter = 0;
	private static int id;
	
	public String name;
	public String surname;
	public double height;
	public String address;
	public boolean sex;
	public int weight;
	
	
	public Person(){
		name = "John";
		surname = "Doe";
		height = 160;
		address = "Mustamae tee";
		sex = true;
		weight = 120;
		id = Person.counter++;
		
	}
	
	public Person(String name, String surname){
		this.name = name;
		this.surname = surname;
		height = 180;
		address = "Ehitaja tee...";
		sex = false;
		weight = 70;
		id = Person.id++;
	}

	public String getName(){
		return name;
	}
	
	public void getCounterValue(){
		System.out.println(Person.counter++);
	}
	
	public static void sleep(){
		System.out.println("I am sleeping");
	}

	
	
	
	
	public static void main(String[] args) {
		
		
		

	}

}
